﻿<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="java.util.*" %>
<%
String Code = (String)session.getAttribute("LanguageCode");
String SubCode = (String)session.getAttribute("LanguageSubcode");
Locale locale = new Locale(Code, SubCode);
ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>
<link href="css/components/EditReservrd/editreserved.css" rel="stylesheet" />
<link href="css/components/EditReservrd/style.css" rel="stylesheet" />

<div name="editReserved_group">
<div name="edit_groups" class="edit_groups" style="display:none">

<table name="edit_headform" style="width:99.8%;">
<tr>
<td class="head_edit">
<div id="name" class="headtext">
&nbsp;<span id="GName">-</span><span name="groupStatus">(G)</span>
</div>
<div id="agency" class="headtext" style="margin-left:90px;" ><span id="GAgent">-</span>
</div>
<div id ="group_code" class="headtext" style="margin-left: 85px;padding-right: 176px;" >รหัสกลุ่ม#G<span id="GId_group_code">#-</span>
</div>
<div id="checkstatus" class="headtext" style="margin-left:-5px; padding-right: 10px; " ><span id="GChkStatus">-</span>
</div>
</td>
</tr>
</table>
<table>
<tr >
<td><div>&nbsp;</div></td>
</tr>
<tr style="border-bottom:#333 solid 1px;">
<td style="width:20px;"><div>&nbsp;</div></td>
<td class="detailone">
<table name="detail" cellspacing="1">
<tr>
<td>
<table width="100%">
<tr>
<td width="100%">
<div style="float:left;">
<b>
<% out.print(resource.getString("Payment.bookingdetails.groupowner"));%>:&nbsp;&nbsp;
</b>
</div>
<div >
<span id="owner_group" onclick="ChangToEdit(id)" style="color:#2121E2;" class="link">-</span>
<span name="groupStatus" style="color:#2121E2;">(G)</span>
<span id="guest_id_edit_res" style="color:#666">&nbsp;&nbsp;(Guest ID:)</span>
</div>
</td>
</tr>
<tr>
<td>
<div style="float:left;">
<b>
<% out.print(resource.getString("editReservation.group.ownner.address"));%>:&nbsp;&nbsp;
</b>
</div>
<div >
<span id="owner_group_address" onclick="ChangToEdit(id)" style="color:#666"></span>
</div>
</td>
</tr>
<tr>
<td>
<div style="float:left;">
<b><%out.print(resource.getString("editReservation.group.ownner.tel"));%>:&nbsp;&nbsp;</b>
</div>
<div >
<span id="owner_group_tel" onclick="ChangToEdit(id)" style="color:#666"></span>
</div>
</td>
</tr>
</table>
<div>&nbsp;</div>
</td>
</tr>
<tr>
<td>

<table width="100%">
<tr>
<td width="100%">
<div style="float:left;">
<b>
<%out.print(resource.getString("editReservation.group.ownner.company"));%>:&nbsp;&nbsp;
</b>
</div>
<div >
<span  id="company" onclick="ChangToEdit(id)" style="color:#666">-</span>
</div>
</td>
</tr>
<tr>
<td>
<div style="float:left;">
<b>
<%out.print(resource.getString("editReservation.group.ownner.companyaddress"));%>:&nbsp;&nbsp;</b>
</div>
<div >
<span  id="company_address" onclick="ChangToEdit(id)" style="color:#666">-</span>
</div>
</td>
</tr>
</table>
<div>&nbsp;</div>
</td>
</tr>
<tr>
<td style="margin-bottom:5px; border-bottom:#999 dotted 1px;">
<table width="100%">
<tr>
<td width="100%">
<div style="float:left;">
<b>
<% out.print(resource.getString("editReservation.group.ownner.agency"));%>:&nbsp;&nbsp;</b>
</div>
<div>
<span id="agency_dv" onclick="ChangToEdit(id)" style="color:#666" agencyid= "0">-</span>
</div>
</td>
</tr>
</table>
<div>&nbsp;</div>
</td>
</tr>
<tr>
<td>
<div>&nbsp;</div>
<table width="580px">
<tr>
<td>
<div><b><% out.print(resource.getString("editReservation.note"));%></b></div>
<div style="padding-top:4px; padding-bottom:10px;">
<textarea id="edi_res_groups_note" style="width:580px; background-color:#EAEAEA; border-color:#FFF;" rows="2" onblur="SaveNoteGroup(event)"></textarea>
</div>
</td>
</tr>
<tr>
<td>
<div style="float:left;">
<span style="margin-left:5px; padding-bottom:4px;"><b>งาน</b></span>
</div>
</td>
</tr>
<tr style=" background-color:#385f9f; width:580px; border-left:#CCC dotted 1px; border-right:#CCC dotted 1px;">
<td colspan="4">
<div style="float:left;  padding-right:126px; padding-left:5px;">
<input type="text" id="addtasksgroup_note_id" class="addtasks_note" name="addtasks_note" placeholder="เพิ่มงาน" style="border: 1px solid #929292; padding: 0 0 0 10px; height: 23px; width: 302px;"/>
<button onclick="AddTaskNote();" name="btn_addtasks_note" class="addtasks_note" style="background-color:#6464F7; width:50px;" ><span style="color:#FFF;" >เพิ่มงาน</span></button>
</div>
<div style="float:left; color:#FFF; padding-top:2px;">

<span style="margin-left:10px;">ดูทั้งหมด</span>(<span name="total">0</span>)
</div>
</td>
</tr>
<tr style="background-color:#999; border-left:#CCC dotted 1px; border-right:#CCC dotted 1px;">
<td class="task" colspan="4" >
<table border="0" width="100%">
	<tr>
		<td style="color:#FFFFFF" width="13%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'id')">id</td>
		<td style="color:#FFFFFF" width="5%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'star')">•</td>
		<td style="color:#FFFFFF" width="40%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'title')">หน้าที่</td>
		<td style="color:#FFFFFF" width="25%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'due')">วันที่/เวลา</td>
		<td style="color:#FFFFFF" width="22%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'note')">โน๊ต</td>
	</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" colspan="4"><div class="TaskNoteList" style="overflow-x: hidden;">&nbsp;</div></td>
</tr>
<tr><td><div>&nbsp;</div></td></tr>
</table>
</td>
</tr>
</table>
</td>
<td style="border-left:solid #333 1px; ">
<table  >
<tr>
<td style="float:left;">
<div name=editres_staydetail_group></div>
</td>
</tr>
</table>
<div>&nbsp;</div>
<div>&nbsp;</div>
<table>
<tr>
<td style="float:left;">
<div name="TravelAndArrive_Group"></div>
</td>
</tr>
</table>
</td>
<td>
<table>
<tr> 
<td>
<table  class="detailtwo" >
<tr>
<td style="float:left; border-left: dotted #ccc 1px; ">
<div style="float:left;">
<div style="margin-left:20px;"><b>รายละเอียดห้องพักและจำนวนผู้เข้าพัก</b></div>
<div style="padding-left: 20px;">จำนวนห้องพัก</div>
<div style="padding-left: 20px;">ผู้ใหญ่</div>
<div style="padding-left: 20px;">เด็ก</div>
<div style="border-bottom: dotted #ccc 1px; width:105%;"></div>
<div style="padding-left: 20px;">รวมผู้เข้าพัก</div>
<div style="border-bottom: dotted #ccc 1px; width:105%;"></div>
</div>
<div style="float:right; margin-right:5px;" >
<div>&nbsp;</div>
<div><span id="editreserved_checkin_amount">3</span></div>
<div><span id="editreserved_adlut_amount">3</span></div>
<div><span id="editreserved_children_amount">0</span></div>
<div ></div>
<div><span id="editreserved_roomrent_amount">3</span></div>
<div ></div>
</div>

<div style="margin-top:20px;padding-top: 180px;">
<table  >
<tr>
<td style="float:left;">
<div name="btnAddCreditCard" class="link" onclick="AddcreditCard()"><%out.print(resource.getString("editReservation.creditCard.AddcreditCard.addCC"));%></div>
<div name="showdialogAddcreditCard"></div>
<div name="EditCreditCard_Group"></div>
</td>
</tr>
</table>
</div>
</td>
</tr>

</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><div>&nbsp;</div></td>
<td colspan="3">
<table id="resvList" width="100%">
<tr>
<td width="3%">
<div>ที่<input type="checkbox" name="edit_res_detail_at" onclick="checkedAll()"></div>
</td>
<td width="5%">
<span>รหัสการจอง</span>
</td>
<td width="10%">
<span>ประเภทห้อง</span>
</td>
<td width="5%">
<span>ห้อง</span>
</td>
<td width="15%">
<span>ชื่อผู้เข้าพัก</span>
</td>
<td width="10%">
<span>เบอร์โทร</span>
</td>
<td width="6.5%">
<span>ผู้ใหญ่ - เด็ก</span>
</td>
<td width="5%">
<span>สถานะ</span>
</td>
<td width="13.5%">
<span>เช็คอิน-เช็คเอาท์</span>
</td>
<td width="3.5%">
<span>คืน</span>
</td>
<td width="10%">
<span>ประเภทของ Rate</span>
</td>
<td width="18%">
<span>ราคา</span>
</td>
</tr>

</table>
<table width="100%" style="border:dotted #CCC 1px ; text-align:center; border-right:hidden;">
<tr>
<td colspan="10" style="border:dotted #CCC 1px !important;">
<table width="100%">
<tr>
<td colspan="10" style="float:left;" width="70%">
<a id="show-cancel-res" onClick="javascript:showCancelRes();" class="link" style="margin-left:10px; margin-top:0px; margin-bottom:10px;">แสดงห้องที่ยกเลิกการจอง</a><br><br>
<input onClick="AutoSelectRoom()" type="button" name="btn_group_autoselectrooms" style="width:120px; background-color:#4B4BE2; padding-right:10px; margin-left:10px; border:#CCC solid 1px; color:#FFF;" value="เลือกห้องอัตโนมัติ">
</td>
<td style="float:right;" width="30%"> 
<div style="float:left; margin-top:6px">
<div style="padding-left: 120px;">จำนวนคืนรวม</div>
<div style="padding-left: 120px;">รีฟ้นด์</div>

</div>

<div style="float:right; margin-right:5px; margin-top:-8px">
<div>&nbsp;</div>
<div class="editreserved_checkin_amount">0</div>
<div id="editreserved_refund_amount">฿00.00</div>

</div>
</td>
</tr>
<tr>
<td colspan="10">
<div class="resvEachItemCommand">
<input type="button" class="active" style="width:120px;" name="insertnewRoom" value="<%out.print(resource.getString("editReservation.group.addNewRoom"));%>" onclick="AddReservation($(this))">
<input type="button" class="active" style="width:150px;" name="deleteRoom" value="<%out.print(resource.getString("editReservation.group.cancelReserveSelectedRoom"));%>" onclick="CancelGroupReservation()">
<input type="button" class="active" style="width:160px;" name="checkInroomAfterTime" value="<%out.print(resource.getString("editReservation.group.earlyCheckinSelectedRoom"));%>" onClick="GroupEarlyCheck()">
<input type="button" class="active" style="width:120px;" name="checkinSelectRoom" value="<%out.print(resource.getString("editReservation.group.checkinSelectedRoom"));%>" onClick="GroupSelectRoomsCheckin()">
</div>
</td>
<td >
<div>&nbsp;</div>
</td>
</tr>
<tr>
<td>
<div>&nbsp;</div>
</td>
</tr>
</table>
</td>
<td  colspan="2" style="border:dotted #CCC 1px !important;float:left; text-align:left !important;">

<div style="float:left; margin-top:6px">
<div style="padding-left: 20px;">ยอดการจองห้อง</div>
<div style="padding-left: 20px;">ส่วนลดการจองห้อง</div>
<div style="padding-left: 20px;">ยอดรวม</div>
<div style="padding-left: 20px;">ค่าใช้จ่ายอื่นๆ</div>
<div style="padding-left: 20px;">ภาษี</div>
<div style="padding-left: 20px;">ส่วนลด</div>
<div style="padding-left: 20px;">ยอดจ่าย</div>
</div>

<div style="float:right; margin-right:5px; margin-top:-8px">
<div>&nbsp;</div>
<div id="edit_roomCharge"></div>
<div id="edit_roomDiscount"></div>
<div id="edit_total"></div>
<div id="edit_otherCharge"></div>
<div id="edit_tax"></div>
<div id="edit_discount"></div>
<div id="edit_pay"></div>
</div>
</td>
</tr>
</table>
<table width="100%">
<tr>
<td width="70%">
<div>&nbsp;</div>
</td>
<td width="30%">
<div>
<div style="padding-left: 80px; float:left;"><b>ยอดการจองห้อง</b></div>
<div id="edit_balance" style="padding-right: 20px; float:right;"></div>
</div>
<div>&nbsp;</div>
</td>
</tr>
</table>

</td>
</tr>
</table>
<table width="100%" align="center">
<tr>
<td style=" background-color:#999; height:40px; " align="center">
<div class="link auditTrail" onclick="showAuditTrail($('[id*=tappage_roommanage_menu_editreserved].select').attr('groupider'),'groupId');">Audit Trail</div>
<div id="Group_Command_btn">
<jsp:include page="FootBtnList.jsp" flush="true"/>
</div>
</td>
</tr>
</table>
</div>
</div>

<%--/*แก้ไขการจองแบบเดี่ยว*/--%>

<div name="editReserved_none_group">
<div name="edit_none_groups" class="edit_groups" style="display:none">
<table name="edit_headform" style="width:99.8%;">
<tr  >
<td class="head_edit">

<div id="edit_none_groups_nameguest" class="headtext" style="padding-right: 200px;">
<b>
&nbsp;<span id="edit_none_groups_name"></span><span id="assaignstatus">&nbsp;</span>
</b>
</div>
<div id="edit_none_groups_showagency" class="headtext" style="padding-right: 100px;">
<b>
<span id="edit_none_groups_agency"></span>
</b>
</div>
<div id ="edit_none_groups_group_code" class="headtext" style="padding-right: 100px;">
<b>
รหัสการจอง # <span id="edit_none_gid_group_code"></span>
</b>
</div>
<div id="edit_none_groups_checkstatus" class="headtext" style="padding-right: 50px;">
<b>
<span id="edit_none_groups_Status"></span>
</b>
</div>
<div id="edit_none_groups_showroomtype" class="headtext" style="padding-right: 70px;">
<b>
<span id="edit_none_groups_roomtype">-</span>
</b>
</div>
<div id="checkstatus" class="headtext" style="padding-right: 20px;">
<span><input type="checkbox" id="edit_none_groups_checkroom" onchange="AssignRoom()">&nbsp;</span>
<b><span>ระบุห้อง &nbsp;</span></b>
<span style="width:100px"><span id="edit_none_groups_cbroom">-</span></span>
</div>
</td>
</tr>
</table>
<table>
<tr >
<td><div>&nbsp;</div></td>
</tr>
<tr>
<td style="width:20px;"><div>&nbsp;</div></td>
<td class="detailone">
<table name="detail" cellspacing="1">
<tr>
<td>
<table width="100%">
<tr>
<td width="100%">
<div style="float:left;">
<b><%out.print(resource.getString("editReservation.Single.guest"));%>:&nbsp;&nbsp;</b>
</div>
<div>
<span id="owner_group_S" onclick="ChangToEdit(id)" class="link">
<%out.print(resource.getString("editReservation.addGuest"));%></span>
<span name="groupStatus_S" style="color:#2121E2;">&nbsp;</span>
<span id="guest_id_edit_res_s" style="color:#666">&nbsp;&nbsp;(Guest ID:P1267)</span>
</div>
</td>
</tr>
<tr>
<td>
<div style="float:left;">
<b><%out.print(resource.getString("editReservation.Single.address"));%>:&nbsp;&nbsp;</b>
</div>
<div >
<span id="owner_group_address_S" onclick="ChangToEdit(id)" style="color:#666"></span>
</div>
</td>
</tr>
<tr>
<td><div style="float:left;"><b>
<%out.print(resource.getString("editReservation.Single.tel"));%>:&nbsp;&nbsp;</b>
</div>
<div >
<span id="owner_group_tel_S" onclick="ChangToEdit(id)" style="color:#666"></span>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" style="margin-bottom:5px; border-bottom:#999 dotted 1px;">
<div style="float:left; margin-bottom:4px;">
<b>
<%out.print(resource.getString("editReservation.group.ownner.company"));%>:&nbsp;&nbsp;</b>
</div>
<div>
<span id="company_S" onclick="ChangToEdit(id)" style="color:#666">-</span>
</div>
</td>
</tr>
<tr>
<td style="margin-bottom:5px; border-bottom:#999 dotted 1px;">
<table width="100%">
<tr>
<td width="100%">
<div style="float:left; margin-bottom:4px; margin-top:4px;">
<b><%out.print(resource.getString("editReservation.Single.Agency"));%>:&nbsp;&nbsp;</b>
</div>
<div>
<span id="agency_dv_S" onclick="ChangToEdit(id)" style="color:#666">-</span>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div name="edit_none_groups_guestname">
<table width="100%" >
<tr>
<td width="50%" style="float:left;">
<b style=" margin-top:4px;">
<%out.print(resource.getString("editReservation.Single.guestList"));%>
</b>
</td>
<td width="50%" style="float:right;">
<div name="edit_none_groups_btnguestname" style="float:right; margin-top:4px;">
<input type="button" name="" style="background-color:#CCC; border-color:#999; border:#666 solid 1px;" value="<%out.print(resource.getString("editReservation.Single.btn.addguest"));%>"
onclick="InsertGuest()">
<input type="button" name="" style="background-color:#CCC; border-color:#999; border:#666 solid 1px;" value="<%out.print(resource.getString("editReservation.Single.btn.delguest"));%>"
onclick="DeleteGuest()">
</div>
</td>
</tr>
</table>
<table width="100%">
<tr bgcolor="#385f9f">
<td style=" border-right:dotted #CCC 1px;" width="10%" height="24px">
<div name="guestname_id" style="float:left;">
<input type="checkbox" name="guestname_id_ckb_master" style="margin-right:4px"><b style="color:#FFF;">ID</b>
</div>
</td>
<td style=" border-right:dotted #CCC 1px;font-weight:bold;color:#FFF;" width="35%" align="center">
<b><% out.print(resource.getString("editReservation.Single.name"));%></b>
</td>
<td style=" border-right:dotted #CCC 1px;font-weight:bold;color:#FFF;" width="15%">
<%out.print(resource.getString("editReservation.Single.phone"));%>
</td>
<td colspan="6" style=" border-right:dotted #CCC 1px;font-weight:bold;color:#FFF;" width="20%" align="center">
<%out.print(resource.getString("editReservation.Single.email"));%>
</td>
<td colspan="6" style=" border-right:dotted #CCC 1px;font-weight:bold;color:#FFF;" width="9%" align="center">
<% out.print(resource.getString("editReservation.Single.guesttype"));%>
</td>
<td colspan="6" style=" border-right:dotted #CCC 1px;" width="6%">&nbsp;</td>
</tr>
<tr id="add_insert_guest" style="display:none;">
<td colspan="6">&nbsp;</td>
</tr>
<tr name="show_list_guests" style="display:none;">
<td colspan="6">&nbsp;</td>
</tr>
<tr>
<td colspan="6" width="100%">&nbsp;</td>
</tr>
</table>
<table width="100%">
<tr>
<td style="border-bottom:solid #000 1px;">&nbsp;</td>
</tr>
</table>
</div>
<table width="580px">
<tr>
<td>
<div style="margin-top:7px;">
<b>
<%out.print(resource.getString("editReservation.note"));%>
</b>
</div>
<div  style="padding-top:4px; padding-bottom:10px;" >
<textarea id="edi_res_groups_note_S" style="width:580px; background-color:#EAEAEA; border-color:#FFF;" rows="2" onblur="SaveNoteSingle(event)">
</textarea>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="border-left:solid #333 1px; ">
<table>
<tr>
<td style="float:left;">
<div name="editres_staydetail_single"></div>
</td>
</tr>
</table>
<div>&nbsp;</div>
<div>&nbsp;</div>
<table>
<tr>
<td style="float:left;">
<div name="TravelAndArrive_Single"></div>
</td>
</tr>
</table>
</td>
<td>
<table>
<tr>
<td>
<table class="detailtwo">
<tr>
<td style="float:left; border-left: dotted #ccc 1px;">
<table width="100%">
<tr>
<td width="75%"><div style="margin-left:20px;"><b>รายละเอียดการจ่ายเงิน</b>&nbsp;<b>(THB ฿)</b></div>
</td>
<td width="25%">&nbsp;
</td>
</tr>
<tr>
<td width="100%" colspan="2">
<div class="paymentdetail-l">ค่าห้องพัก</div> 
<div id="roomPrice" class="paymentdetail-r">0</div>
</td>
</tr>
<tr>
<td width="100%" colspan="2">
<div class="paymentdetail-l">ค่าใช้จ่าย</div>
<div id="otherPrice" class="paymentdetail-r">0</div>
</td>
</tr>
<tr class="linePaymentPrice">
<td width="100%" colspan="2">
<div class="paymentdetail-l colorText">ภาษี</div>
<div id="taxCost" class="paymentdetail-r">0</div>
 </td>
</tr>

<tr class="linePaymentPrice">
<td width="100%" colspan="2"> 
<div class="paymentdetail-l colorText">ยอดรวม</div>
<div id="totalCost" class="paymentdetail-r">0</div>
</td>
</tr>
<tr>
<td width="100%" colspan="2">
<div class="paymentdetail-l">จำนวนจ่าย</div> 
<div id="payprice" class="paymentdetail-r">0</div>
</td>
</tr>
<tr class="linePaymentPrice" >
<td width="100%" colspan="2"> 
<div class="paymentdetail-l" >ยอดคงเหลือ</div>
<div id="rest" class="paymentdetail-r">0</div>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
<div style="margin-top:20px;padding-top: 50px;">
<div name="btnAddCreditCard" class="link" onclick="AddcreditCard()"><%out.print(resource.getString("editReservation.creditCard.AddcreditCard.addCC"));%></div>
<div name="showdialogAddcreditCard"></div>
<div name="EditCreditCard_Single"></div>
</div>
</td>
</tr>

</table>
</td>
</tr>
</table>
</td>
</tr>

<tr>
<td colspan="2" width="50%" >
<table style="margin-left:20px; margin-left:20px;">
<tr>
<td>
<div style="float:left;">
<span style="margin-left:5px; padding-bottom:4px;"><b>งาน</b></span>
</div>
</td>
</tr>
<tr style=" background-color:#385f9f; width:580px; border-left:#CCC dotted 1px; border-right:#CCC dotted 1px;">
<td colspan="4">
<div style="float:left;  padding-right:126px; padding-left:5px;">
<input  type="text" id="addtasks_note_id" class="addtasks_note" name="addtasks_note"  placeholder="เพิ่มงาน" style="border: 1px solid #929292; padding: 0 0 0 10px; height: 23px; width: 302px;"/>
<button onclick="AddTaskNote();" name="btn_addtasks_note" class="addtasks_note" style="background-color:#6464F7; width:50px;" ><span style="color:#FFF;">เพิ่มงาน</span></button>
</div>
<div style="float:left; color:#FFF; padding-top:2px;">
<span style="margin-left:10px;">ดูทั้งหมด</span>(<span name="total">0</span>)
</div>
</td>
</tr>
<tr style="background-color:#999; border-left:#CCC dotted 1px; border-right:#CCC dotted 1px;">
<td class="task" colspan="4" >
<table border="0" width="100%">
	<tr>
		<td style="color:#FFFFFF" width="13%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'id')">id</td>
		<td style="color:#FFFFFF" width="5%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'star')">•</td>
		<td style="color:#FFFFFF" width="40%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'title')">หน้าที่</td>
		<td style="color:#FFFFFF" width="25%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'due')">วันที่/เวลา</td>
		<td style="color:#FFFFFF" width="22%" class="link" align="center" group="sortTask" onclick="sortTask($(this),'note')">โน๊ต</td>
	</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" colspan="4"><div class="TaskNoteList" style="overflow-x: hidden;">&nbsp;</div></td>

</tr>
<tr><td><div>&nbsp;</div></td></tr>
</table>
</td>
<td  colspan="2" width="50%" style="border-top: dotted #ccc 1px ; border-left:#000 solid 1px;">

<div name="edit_none_groups_roomrate">
<div style="font-weight:bold;"><%out.print(resource.getString("simpleLabel.roomRate"));%></div>

<table width="100%" class="colorTable" id="package_rate_edit_res" >
<tr style="height:24px; border-right:dotted #CCC 1px;">
<td style="width:48%;padding-left:20px;"><%out.print(resource.getString("simpleLabel.roomRate"));%></td>
<td style="width:30%; text-align:center;"><%out.print(resource.getString("simpleLabel.Date"));%></td>
<td style="width:15%; text-align:center;"><%out.print(resource.getString("editReservation.rateAmount"));%></td>
<td colspan="6" style="width:7%; text-align:center;"><%out.print(resource.getString("simpleLabel.night"));%></td>
</tr>
</table>
<table width="100%">
<tr>
<td style="border-bottom:dotted #CCC 1px;">&nbsp;</td>
</tr>
</table>
</div>

<div name="edit_none_groups_changeroom">
<table width="100%" >
<tr>
<td width="50%" style="float:left;  margin-top:5px; margin-bottom:5px;">
<b>การย่ายห้องพัก</b>
</td>
<td width="50%" style="float:right;">
<div name="edit_none_groups_btnchangeroom" style="float:right; margin-top:4px;">
<input type="button" name="" style="background-color:#CCC; border-color:#999; border:#666 solid 1px;" onclick="splitReservationTodayDetailPage($('[id*=tappage_roommanage_menu_editreserved].select').attr('resider'),$('table[name=subReservationList]'));" value="<%out.print(resource.getString("SplitReservation.addSplitReservation"));%>">

</div>
</td>
</tr>
</table>
<table name="subReservationList" class="splitRoomTable colorTable" width="100%" style="margin-bottom: 50px;">
<tr style="height:24px;">
<td style="width:38%;">
<div name="changeroom_roomtype" style="margin-left:20px;"><%out.print(resource.getString("SplitReservation.roomType"));%></div>
</div>
</td>
<td style="width:35%; text-align:center;">
<div name="changeroom_date"><%out.print(resource.getString("simpleLabel.Date"));%></div>
</div>
</td>
<td style="width:18%; text-align:center;">
<div name="changeroom_rooms"><%out.print(resource.getString("simpleLabel.room"));%></div>
</div>
</td>
<td colspan="6" style="border-right:dotted #CCC 1px; text-align:center; width:9%;">
<div name="changeroom_night"><% out.print(resource.getString("simpleLabel.night"));%></div>
</div>
</td>
</tr>
<tr style="border-bottom:dotted #CCC 1px; height:24px;">
<td>
<div name="changeroom_roomtype" style="float:left; margin-left:10px;">&nbsp;</div>
</td>
<td style="align:center;">
<div name="changeroom_date">&nbsp;</div>
</td>
<td style="align:right;" >
<div name="changeroom_rooms">&nbsp;</div>
</td>
<td colspan="6" style="align:enter;">
<div name="changeroom_night">&nbsp;</div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table width="100%" align="center">
<tr>
<td style=" background-color:#999; height:40px;">
<div class="link auditTrail" onclick="showAuditTrail($('[id*=tappage_roommanage_menu_editreserved].select').attr('resider'),'resId');">Audit Trail</div>
<!-- SingleBtn -->
<div id="Group_Command_btn">
<jsp:include page="FootBtnList.jsp" flush="true"/>
</div>
</td>
</tr>
</table>
</div>
</div>
<!--jsp:include page="../ReasonCancellation/ResonCancellation.jsp" flush="true"/-->
<!--jsp:include page="../blocked/popup/charge.jsp" flush="true"/-->
<jsp:include page="ReservationAllPopup.jsp" flush="true"/>
